const state = {
  refresh:false,
};

const mutations = {
  SETREFRESH(state, data) {
    state.refresh = data;
  },
};

const actions = {
  setRefresh({ commit }, data) {
    commit("SETREFRESH", data);
  }
};

export default {
  namespaced: true,
  state,
  mutations,
  actions,
  getters: {
    refresh: state => state.refresh
  }
};
